<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/9/28
  Time: 16:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    application对象:全局对象（代表服务器的一次完整生命周期）
    数据类型:ServletContext类型
    <%
        //添加
        application.setAttribute("A",33);
        //删除
        //application.removeAttribute("A");
        Object obj = application.getAttribute("A");
        out.print(obj);
    %>
</body>
</html>
